package com.uhylab.uhuvinetest.bean;

import java.util.Date;

/**
 * Created by xyb on 15/12/29 at UHylab
 *
 * @version 1.0
 */
public class Dataee {

    /**
     * code : 200
     * msg : 查询成功，返回数据
     * data : [{"id":"7","phone":"13836640848","name":null,"sex":null,"date":null,"weight":null,"height":null,"booldType":null}]
     */

    private String code;
    private String msg;
    /**
     * id : 7
     * phone : 13836640848
     * name : null
     * sex : null
     * date : null
     * weight : null
     * height : null
     * booldType : null
     */

    private DataEntity data;

    public void setCode(String code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        private String id;
        private String phone;
        private String name;
        private int sex;
        private Date birthday;
        private double weight;
        private double height;
        private String booldType;

        public void setId(String id) {
            this.id = id;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public void setBirthday(Date date) {
            this.birthday = date;
        }

        public void setWeight(double weight) {
            this.weight = weight;
        }

        public void setHeight(double height) {
            this.height = height;
        }

        public void setBooldType(String booldType) {
            this.booldType = booldType;
        }

        public String getId() {
            return id;
        }

        public String getPhone() {
            return phone;
        }

        public String getName() {
            return name;
        }

        public int getSex() {
            return sex;
        }

        public Date getBirthday() {
            return birthday;
        }

        public double getWeight() {
            return weight;
        }

        public double getHeight() {
            return height;
        }

        public String getBooldType() {
            return booldType;
        }
    }
}
